home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 888 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  803 b 

  1. Path: nuclear.microserve.net!news
  2. From: ezsoldos@microserve.com (Ellis M. Zsoldos Jr.)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: itoa on Unix
  5. Date: Tue, 09 Jan 1996 23:05:00 GMT
  6. Organization: Microserve Information Systems (800)-380-INET
  7. Distribution: world
  8. Message-ID: <30f2ea4b.20312215@news2.microserve.net>
  9. References: <4cra6m$pop@baloo.pipex-sa.net>
  10. NNTP-Posting-Host: corvette.microserve.com
  11. X-Newsreader: Forte Agent .99c/16.141
  12.  
  13. nic@pipex-sa.net (Nic Tjirkalli) wrote:
  14.  
  15. >I would greatly appreciate it if somebody could inform me of a simple
  16. >way to convert an integer to a string using gcc on unix.
  17. >
  18. Try this:
  19.  
  20. sprintf(string,"%d", integer);
  21.  
  22. Hope this helps ...
  23. ------------------------------------------------------
  24. Ellis M. Zsoldos Jr.
  25. ezsoldos@microserve.net
  26. http://www.microserve.net/~ezsoldos
  27.